#ifndef KPUBLICJSONOBJECTHANDLE_H
#define KPUBLICJSONOBJECTHANDLE_H

#include <QObject>
#include <QFile>
#include <QJsonObject>
#include <QJsonDocument>
class KPublicJsonObjectHandle : public QObject
{
    Q_OBJECT
public:
    explicit KPublicJsonObjectHandle(QObject *parent = nullptr);
    QJsonObject readFileToInitializeSettings(QFile &file);
    bool isJsonObjectCodeOk(QJsonObject);
    QByteArray forwardToBackSlash(QByteArray);
    QJsonObject fileOpen(bool &isok,QByteArray filePath);
signals:
};

#endif // KPUBLICJSONOBJECTHANDLE_H
